@extends('frontend/layouts/flaty_to_bootstrap')

@section('content.titley')
Create new PurchaseCar ::
@parent
@stop

    @section('content.breadcrumb.inner')
    <li><a href="{{  route('home') }}"><i class="icon-home"></i> Dashboard</a><span class="divider"><i class="icon-angle-right"></i></span></li>
    <li><a href="{{  route('car_balance.purchase_car.index') }}"><i class="icon-home"></i> PurchaseCar list</a><span class="divider"><i class="icon-angle-right"></i></span></li>
    <li class="active">New PurchaseCar </li>
    @stop

@section('content.main')

<p>{{ link_to_route('car_balance.purchase_car.index', 'Back to PurchaseCar list', null, array('class' => 'btn btn-info')) }}</p>

<div class="row-fluid">
    {{ Form::open(array('route' => 'car_balance.purchase_car.create', 'class' => 'form-horizontal')) }}

    <div  class="control-group {{ $errors->first('purchase_date', ' error') }}">
        <label class="control-label" for="purchase_date">Purchase Date</label>
        <div class="controls">
            <input class="" placeholder="Purchase Date" title="Purchase Date" name="purchase_date" type="text" value="{{ Input::old('purchase_date') }}">
            {{ $errors->first('purchase_date', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('car_maker', ' error') }}">
        <label class="control-label" for="car_maker">Car Maker</label>
        <div class="controls">
            <input class="" placeholder="Car Maker" title="Car Maker" name="car_maker" type="text" value="{{ Input::old('car_maker') }}">
            {{ $errors->first('car_maker', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('car_type', ' error') }}">
        <label class="control-label" for="car_type">Car Type</label>
        <div class="controls">
            <!--<input class="" placeholder="Car Type" title="Car Type" name="car_type" type="text" value="{{ Input::old('car_type') }}">-->
            {{ Form::select('car_type', $car_makers) }}
            {{ $errors->first('car_type', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('model_year', ' error') }}">
        <label class="control-label" for="model_year">Model Year</label>
        <div class="controls">
            <input class="" placeholder="Model Year" title="Model Year" name="model_year" type="text" value="{{ Input::old('model_year') }}">
            {{ $errors->first('model_year', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('chasis_number', ' error') }}">
        <label class="control-label" for="chasis_number">Chasis Number</label>
        <div class="controls">
            <input class="" placeholder="Chasis Number" title="Chasis Number" name="chasis_number" type="text" value="{{ Input::old('chasis_number') }}">
            {{ $errors->first('chasis_number', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('color', ' error') }}">
        <label class="control-label" for="color">Color</label>
        <div class="controls">
            <input class="" placeholder="Color" title="Color" name="color" type="text" value="{{ Input::old('color') }}">
            {{ $errors->first('color', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('number_plate_flag', ' error') }}">
        <label class="control-label" for="number_plate_flag">Number Plate Flag</label>
        <div class="controls">
            <input class="" placeholder="Number Plate Flag" title="Number Plate Flag" name="number_plate_flag" type="text" value="{{ Input::old('number_plate_flag') }}">
            {{ $errors->first('number_plate_flag', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('purchase_price', ' error') }}">
        <label class="control-label" for="purchase_price">Purchase Price</label>
        <div class="controls">
            <input class="" placeholder="Purchase Price" title="Purchase Price" name="purchase_price" type="text" value="{{ Input::old('purchase_price') }}">
            {{ $errors->first('purchase_price', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('purchase_price_fixed', ' error') }}">
        <label class="control-label" for="purchase_price_fixed">Purchase Price Fixed</label>
        <div class="controls">
            <input class="" placeholder="Purchase Price Fixed" title="Purchase Price Fixed" name="purchase_price_fixed" type="text" value="{{ Input::old('purchase_price_fixed') }}">
            {{ $errors->first('purchase_price_fixed', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('consumption_tax', ' error') }}">
        <label class="control-label" for="consumption_tax">Consumption Tax</label>
        <div class="controls">
            <input class="" placeholder="Consumption Tax" title="Consumption Tax" name="consumption_tax" type="text" value="{{ Input::old('consumption_tax') }}">
            {{ $errors->first('consumption_tax', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('recycle_fee', ' error') }}">
        <label class="control-label" for="recycle_fee">Recycle Fee</label>
        <div class="controls">
            <input class="" placeholder="Recycle Fee" title="Recycle Fee" name="recycle_fee" type="text" value="{{ Input::old('recycle_fee') }}">
            {{ $errors->first('recycle_fee', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('car_certification', ' error') }}">
        <label class="control-label" for="car_certification">Car Certification</label>
        <div class="controls">
            <input class="" placeholder="Car Certification" title="Car Certification" name="car_certification" type="text" value="{{ Input::old('car_certification') }}">
            {{ $errors->first('car_certification', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('auction_comission', ' error') }}">
        <label class="control-label" for="auction_comission">Auction Comission</label>
        <div class="controls">
            <input class="" placeholder="Auction Comission" title="Auction Comission" name="auction_comission" type="text" value="{{ Input::old('auction_comission') }}">
            {{ $errors->first('auction_comission', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('transport_fee_japan', ' error') }}">
        <label class="control-label" for="transport_fee_japan">Transport Fee Japan</label>
        <div class="controls">
            <input class="" placeholder="Transport Fee Japan" title="Transport Fee Japan" name="transport_fee_japan" type="text" value="{{ Input::old('transport_fee_japan') }}">
            {{ $errors->first('transport_fee_japan', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('transport_fee_japan_fxd', ' error') }}">
        <label class="control-label" for="transport_fee_japan_fxd">Transport Fee Japan Fxd</label>
        <div class="controls">
            <input class="" placeholder="Transport Fee Japan Fxd" title="Transport Fee Japan Fxd" name="transport_fee_japan_fxd" type="text" value="{{ Input::old('transport_fee_japan_fxd') }}">
            {{ $errors->first('transport_fee_japan_fxd', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('nmh_commision', ' error') }}">
        <label class="control-label" for="nmh_commision">Nmh Commision</label>
        <div class="controls">
            <input class="" placeholder="Nmh Commision" title="Nmh Commision" name="nmh_commision" type="text" value="{{ Input::old('nmh_commision') }}">
            {{ $errors->first('nmh_commision', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('tic_june_flag', ' error') }}">
        <label class="control-label" for="tic_june_flag">Tic June Flag</label>
        <div class="controls">
            <input class="" placeholder="Tic June Flag" title="Tic June Flag" name="tic_june_flag" type="text" value="{{ Input::old('tic_june_flag') }}">
            {{ $errors->first('tic_june_flag', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('exhibit_number', ' error') }}">
        <label class="control-label" for="exhibit_number">Exhibit Number</label>
        <div class="controls">
            <input class="" placeholder="Exhibit Number" title="Exhibit Number" name="exhibit_number" type="text" value="{{ Input::old('exhibit_number') }}">
            {{ $errors->first('exhibit_number', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('burtgel_solih', ' error') }}">
        <label class="control-label" for="burtgel_solih">Burtgel Solih</label>
        <div class="controls">
            <input class="" placeholder="Burtgel Solih" title="Burtgel Solih" name="burtgel_solih" type="text" value="{{ Input::old('burtgel_solih') }}">
            {{ $errors->first('burtgel_solih', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('export_erasure', ' error') }}">
        <label class="control-label" for="export_erasure">Export Erasure</label>
        <div class="controls">
            <input class="" placeholder="Export Erasure" title="Export Erasure" name="export_erasure" type="text" value="{{ Input::old('export_erasure') }}">
            {{ $errors->first('export_erasure', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('car_tax_cancel', ' error') }}">
        <label class="control-label" for="car_tax_cancel">Car Tax Cancel</label>
        <div class="controls">
            <input class="" placeholder="Car Tax Cancel" title="Car Tax Cancel" name="car_tax_cancel" type="text" value="{{ Input::old('car_tax_cancel') }}">
            {{ $errors->first('car_tax_cancel', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('send_export_erasure_to_transport_company', ' error') }}">
        <label class="control-label" for="send_export_erasure_to_transport_company">Send Export Erasure To Transport Company</label>
        <div class="controls">
            <input class="" placeholder="Send Export Erasure To Transport Company" title="Send Export Erasure To Transport Company" name="send_export_erasure_to_transport_company" type="text" value="{{ Input::old('send_export_erasure_to_transport_company') }}">
            {{ $errors->first('send_export_erasure_to_transport_company', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('fax_export_erasure_to_auction', ' error') }}">
        <label class="control-label" for="fax_export_erasure_to_auction">Fax Export Erasure To Auction</label>
        <div class="controls">
            <input class="" placeholder="Fax Export Erasure To Auction" title="Fax Export Erasure To Auction" name="fax_export_erasure_to_auction" type="text" value="{{ Input::old('fax_export_erasure_to_auction') }}">
            {{ $errors->first('fax_export_erasure_to_auction', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('mail_export_erasure_to_nmc', ' error') }}">
        <label class="control-label" for="mail_export_erasure_to_nmc">Mail Export Erasure To Nmc</label>
        <div class="controls">
            <input class="" placeholder="Mail Export Erasure To Nmc" title="Mail Export Erasure To Nmc" name="mail_export_erasure_to_nmc" type="text" value="{{ Input::old('mail_export_erasure_to_nmc') }}">
            {{ $errors->first('mail_export_erasure_to_nmc', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('car_liability_insurance_cancel', ' error') }}">
        <label class="control-label" for="car_liability_insurance_cancel">Car Liability Insurance Cancel</label>
        <div class="controls">
            <input class="" placeholder="Car Liability Insurance Cancel" title="Car Liability Insurance Cancel" name="car_liability_insurance_cancel" type="text" value="{{ Input::old('car_liability_insurance_cancel') }}">
            {{ $errors->first('car_liability_insurance_cancel', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('recycle', ' error') }}">
        <label class="control-label" for="recycle">Recycle</label>
        <div class="controls">
            <input class="" placeholder="Recycle" title="Recycle" name="recycle" type="text" value="{{ Input::old('recycle') }}">
            {{ $errors->first('recycle', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('comment', ' error') }}">
        <label class="control-label" for="comment">Comment</label>
        <div class="controls">
            <input class="" placeholder="Comment" title="Comment" name="comment" type="text" value="{{ Input::old('comment') }}">
            {{ $errors->first('comment', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('cancel_flag', ' error') }}">
        <label class="control-label" for="cancel_flag">Cancel Flag</label>
        <div class="controls">
            <input class="" placeholder="Cancel Flag" title="Cancel Flag" name="cancel_flag" type="text" value="{{ Input::old('cancel_flag') }}">
            {{ $errors->first('cancel_flag', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('cancel_fee', ' error') }}">
        <label class="control-label" for="cancel_fee">Cancel Fee</label>
        <div class="controls">
            <input class="" placeholder="Cancel Fee" title="Cancel Fee" name="cancel_fee" type="text" value="{{ Input::old('cancel_fee') }}">
            {{ $errors->first('cancel_fee', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('re_auction_flag', ' error') }}">
        <label class="control-label" for="re_auction_flag">Re Auction Flag</label>
        <div class="controls">
            <input class="" placeholder="Re Auction Flag" title="Re Auction Flag" name="re_auction_flag" type="text" value="{{ Input::old('re_auction_flag') }}">
            {{ $errors->first('re_auction_flag', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('auction_penalty', ' error') }}">
        <label class="control-label" for="auction_penalty">Auction Penalty</label>
        <div class="controls">
            <input class="" placeholder="Auction Penalty" title="Auction Penalty" name="auction_penalty" type="text" value="{{ Input::old('auction_penalty') }}">
            {{ $errors->first('auction_penalty', '<span class="help-inline">:message</span>') }}
        </div>
    </div>

    <div class="control-group {{ $errors->first('customer_id', ' error') }}">
        <label class="control-label">Customer</label>
        <div class="controls">
            {{ Form::select('customer_id', $customer_list, '', array('data-placeholder' => 'Customer', 'class' => 'chosen span6', 'name' => 'customer_id')) }}
            {{ $errors->first('customer_id', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div class="control-group {{ $errors->first('vanning_company_branch_id', ' error') }}">
        <label class="control-label">Vanning Company Branch</label>
        <div class="controls">
            {{ Form::select('vanning_company_branch_id', $vanning_company_branch_list, '', array('data-placeholder' => 'Vanning Company Branch', 'class' => 'chosen span6', 'name' => 'vanning_company_branch_id')) }}
            {{ $errors->first('vanning_company_branch_id', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div class="control-group {{ $errors->first('car_auction_id', ' error') }}">
        <label class="control-label">Car Auction</label>
        <div class="controls">
            {{ Form::select('car_auction_id', $car_auction_list, '', array('data-placeholder' => 'Car Auction', 'class' => 'chosen span6', 'name' => 'car_auction_id')) }}
            {{ $errors->first('car_auction_id', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div class="control-group {{ $errors->first('service_company_id', ' error') }}">
        <label class="control-label">Service Company</label>
        <div class="controls">
            {{ Form::select('service_company_id', $service_company_list, '', array('data-placeholder' => 'Service Company', 'class' => 'chosen span6', 'name' => 'service_company_id')) }}
            {{ $errors->first('service_company_id', '<span class="help-inline">:message</span>') }}
        </div>
    </div>

    <div class="form-actions">
        {{  Form::submit('Submit', array('class' => 'btn btn-info')) }} &nbsp;&nbsp;
        {{  link_to_route('car_balance.purchase_car.index', 'Cancel', null, array('class' => 'btn ')) }}
    </div>
    {{  Form::close() }}
@stop